package edu.ustb.dao;

public class UserDAOImpl implements UserDAO {

	@Override
	public boolean login(String username, String password) {
		if (username.equals("lijia") && password.equals("123456")) {
			return true;
		}
		return false;
	}

	@Override
	public void addUser(String username, String password) {
		System.out.println(username+" 用户添加成功!");
	}

	@Override
	public void delUser(int id) {
		System.out.println("编号为 " + id + " 的用户删除成功!");
	}

}
